/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kallsonys.object.ws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author allan
*/
@XmlAccessorType( XmlAccessType.FIELD )
@XmlRootElement
public class ListElement 
{
    private String elementId;
    private String elementValue;

    @XmlAttribute
    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    @XmlAttribute
    public String getElementValue() {
        return elementValue;
    }

    public void setElementValue(String elementValue) {
        this.elementValue = elementValue;
    }
    
    public ListElement(String elementId,String elementValue)
    {
        this.elementId = elementId;
        this.elementValue = elementValue;
    }

    @Override
    public String toString() {
        return elementValue;
    }
    
    
    
    public ListElement()
    {
         
    }
    
}
